home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / KeyNote 1.6.5 / kntsetup.exe / {app} / doc / cmdline.txt < prev    next >
Text File  |  2001-06-23  |  5KB  |  64 lines

  1. -----------------------------------------------------------
  2. KEYNOTE - COMMAND-LINE SWITCHES
  3. -----------------------------------------------------------
  4.  
  5. When launching KeyNote from the command-line (Start->Run...) or from a shortcut, you can specify one or more command-line arguments. These arguments are equivalent to some configuration options and change certain aspects of the program behavior.
  6.  
  7. usage: keynote.exe [filename[.knt]] [-option [-option...]]
  8.  
  9. Note: If a command-line argument is a file, just enter the full path and filename. Command-line arguments which are options must be preceded by a dash (-) or a slash (/), which is the usual convention for MS-DOS and MS Windows programs.
  10.  
  11. Command-line options may be typed in lowercase or UPPERCASE, and may be specified in any order.
  12.  
  13. Following is a list of command-line options KeyNote supports:
  14.  
  15. FILENAMES:
  16.  
  17. You can specify one or more filenames on the command-line to alter the default behavior of the program. KeyNote relies on the file extension (file type) in interpreting the meaning of the option.
  18.  
  19. If you specify...                Keynote will...
  20. a .KNT file                        - open this file on startup
  21. an .INI file                    - use it as the configuration file instead of the default "keynote.ini") Note that this enables many users to share KeyNote on one computer and have their own, separate preferences.
  22. a .DEF file                        - read from this file default settings for newly created notes (instead of the default keynote.def)
  23. a .MGR file                        - use this file to fill the File Manager dialog box (instead of the default keynote.mgr)
  24.  
  25. OPTIONS:
  26.  
  27. -min        minimize on startup
  28. The main program window will be automatically minimized when KeyNote is started. Note that you can achieve the same effect by opening the shortcut Properties window and specifying "Minimized" in the appropriate setting on the Shortcut tab. If this option is not specified, KeyNote will restore the previous size and position of the main window.
  29.  
  30. -debug        save some debug info
  31. Turns ON debugging. This option iso only honored if the program was built with debug code; otherwise it is ignored and has no effect on the program execution. When debugging is on, KeyNote periodically saves to disk a log file containing some runtime information and any error messages that may have been issued.
  32.  
  33. -nso        do not save options
  34. If this option is specified, KeyNote will not save any configuration options you may change inside the program. You can still open the Options dialog box and change settings, but the changes you make will be lost after you close and restart the program.
  35.  
  36. -nro        do not read options (IMPLIES 'nso')
  37. If this option is specified, KeyNote will not read its configuration
  38. file (keynote.ini). All options will be reset to factory defaults. If this option is specified, KeyNote ALSO assumed the -nso option (see above), so it will neither read nor save any changes in configuration.
  39.  
  40. NOTE: The simplest way to restore factory default configuration is to delete the file "keynote.ini" which resides in the directory where you installed KeyNote.
  41.  
  42. -reg        register data file extension
  43. If this option is specified, KeyNote will try to register its default document extension (.knt) with itself. You can also perform this manually in Windows Explorer using the Options command in the View menu.
  44.  
  45. -nodef        do not read or write default entry settings
  46. If this option is specified, KeyNote will not load the default settings for new notes that you create (keynote.def) and will use factory defaults instead. If you wish to restore factory default settings for newly created notes, just delete the file "keynote.def" which resides in the directory where you installed KeyNote.
  47.  
  48. -saveicn    save factory default icons to bitmap file
  49. For the programmer only; not useful for the users. Saves the default icon set to a bitmap file.
  50.  
  51. -noicn        do NOT load user icons from external .ICN file
  52. If this option is specified, KeyNote will not load the custom icons (keynote.icn) file at startup, and will use factory default icons instead. This option also disables the Icons tab in the Optioons dialog box, preventing the user from changing icons.
  53.  
  54. -oldfmt        use old (pre-0.85) file format. See relevant note in the file
  55. "history.txt". This is only useful if you need to exchange your KeyNote file with someone who still uses a much older version of KeyNote. This setting is ignored if your current file contains tree-type notes, because the older versions of KeyNote will not be able to open such notes anyway.
  56.  
  57. -noreg        do NOT store window size and position and the recently used
  58. file list in the registry. Instead, this information is stored in a file with the ".mru" extension.
  59.  
  60. ----- END -----
  61.  
  62.  
  63.  
  64.